home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Utilities / vim-5.1 / src / os_amiga.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-29  |  2.4 KB  |  120 lines

  1. /* vi:set ts=8 sts=4 sw=4:
  2.  *
  3.  * VIM - Vi IMproved    by Bram Moolenaar
  4.  *
  5.  * Do ":help uganda"  in Vim to read copying and usage conditions.
  6.  * Do ":help credits" in Vim to see a list of people who contributed.
  7.  */
  8.  
  9. /*
  10.  * Amiga Machine-dependent things
  11.  */
  12.  
  13. #define CASE_INSENSITIVE_FILENAME   /* ignore case when comparing file names */
  14. #define SPACE_IN_FILENAME
  15. #define USE_FNAME_CASE            /* adjust case of file names */
  16. #ifndef _DCC
  17. #define HAVE_STAT_H
  18. #endif
  19. #define HAVE_STDLIB_H
  20. #define HAVE_STRING_H
  21. #define HAVE_FCNTL_H
  22. #define HAVE_STRCSPN
  23. #define HAVE_STRICMP
  24. #define HAVE_STRNICMP
  25. #define HAVE_STRFTIME        /* guessed */
  26. #define HAVE_SETENV
  27. #define HAVE_MEMSET
  28. #define HAVE_QSORT
  29. #if defined(__DATE__) && defined(__TIME__)
  30. # define HAVE_DATE_TIME
  31. #endif
  32.  
  33. #define FNAME_ILLEGAL ";*?`#%" /* illegal characters in a file name */
  34.  
  35. /*
  36.  * Be conservative about sizeof(int). It could be 4 too.
  37.  */
  38. #define SIZEOF_INT  2
  39.  
  40. /*
  41.  * Manx doesn't have off_t, define it here.
  42.  */
  43. #ifdef AZTEC_C
  44. typedef long off_t;
  45. #endif
  46.  
  47. #ifdef LATTICE
  48. # define USE_TMPNAM    /* use tmpnam() instead of mktemp() */
  49. #endif
  50.  
  51. /* always use remove() to remove a file */
  52. #define vim_remove(x) remove((char *)(x))
  53.  
  54. /*
  55.  * arpbase.h must be included before functions.h
  56.  */
  57. #ifndef NO_ARP
  58. # include <libraries/arpbase.h>
  59. #endif
  60.  
  61. /*
  62.  * This won't be needed if you have a version of Lattice 4.01 without broken
  63.  * break signal handling.
  64.  */
  65. #include <signal.h>
  66.  
  67. /*
  68.  * Names for the EXRC, HELP and temporary files.
  69.  * Some of these may have been defined in the makefile.
  70.  */
  71.  
  72. #ifndef USR_VIMRC_FILE
  73. # define USR_VIMRC_FILE    "s:.vimrc"
  74. #endif
  75.  
  76. #ifndef USR_EXRC_FILE
  77. # define USR_EXRC_FILE    "s:.exrc"
  78. #endif
  79.  
  80. #ifdef VIMINFO
  81. #ifndef VIMINFO_FILE
  82. # define VIMINFO_FILE    "s:.viminfo"
  83. #endif
  84. #endif /* VIMINFO */
  85.  
  86. #ifndef VIMRC_FILE
  87. # define VIMRC_FILE    ".vimrc"
  88. #endif
  89.  
  90. #ifndef EXRC_FILE
  91. # define EXRC_FILE    ".exrc"
  92. #endif
  93.  
  94. #ifndef VIM_HLP
  95. # define VIM_HLP    "$VIM/doc/help.txt"
  96. #endif
  97.  
  98. #ifndef DEF_BDIR
  99. # define DEF_BDIR    ".,t:"        /* default for 'backupdir' */
  100. #endif
  101.  
  102. #ifndef DEF_DIR
  103. # define DEF_DIR    ".,t:"        /* default for 'directory' */
  104. #endif
  105.  
  106. #define TEMPNAME    "t:v?XXXXXX"
  107. #define TEMPNAMELEN    12
  108.  
  109. #define ERRORFILE    "AztecC.Err"
  110. #define MAKEEF        "t:vim##.Err"
  111.  
  112. #ifndef MAXMEM
  113. # define MAXMEM        256    /* use up to 256Kbyte for buffer */
  114. #endif
  115. #ifndef MAXMEMTOT
  116. # define MAXMEMTOT    0    /* decide in set_init */
  117. #endif
  118.  
  119. #define BASENAMELEN    26    /* Amiga */
  120.